import { request } from '../utils'

export async function getAllTerms(params) {
  return request('http://localhost:5000/terms/', {
    method: 'get',
    data: params,
    timeout: 1000,
    headers: {
      'authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjU3ZmNhODc3NTIxNDA1MjM5NDJjNmU0NSIsImlhdCI6MTQ4MTg1NDE4Mn0.oP_2Vd2C22aEN6Xp0qI5Hs92HXsNasPCuKPlr4ZAKhQ',
      "accept": "application/json"
    }
  })
}
